package com.wlc.jdbcpart;

import java.time.LocalDateTime;

import com.wlc.bean.User;

public class UserTableOperationTest {
private static UserTableOperation uto=new UserTableOperation();
	
	public static void main(String[] args) {
		/*
		List<User> list=uto.queryAll();
		list.forEach((item)->System.out.println(item.getName()+","+item.getPassword()));
		
		User user=uto.queryById(2);
		System.out.println(user.getName()+","+user.getPassword());
		*/
		
		User user0=new User(0,"tom","tom","1",LocalDateTime.now());
		int result=uto.addUser(user0);
		System.out.println("row number:"+result);
	}


	public void queryAllTest() {
		
	}
}
